package com.weimengchao.task.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.xssf.streaming.SXSSFSheet;

import java.io.Serializable;

/**
 * 单元格属性
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@Builder
public class WriteCell implements Serializable {

    private static final long serialVersionUID = 52493654784172734L;
    /**
     * 所在表单
     */
    private SXSSFSheet sheet;

    /**
     * 行
     */
    private int rowNum;

    /**
     * 列
     */
    private int column;

    /**
     * 样式
     */
    private CellStyle cellStyle;

    /**
     * 值
     */
    private Object value;

}
